#ifndef INCLUDED_CIMAGE
#define INCLUDED_CIMAGE

#include "VGCVirtualGameConsole.h"
#include "CVector.h"
#include <string>

class CImage {
	private: VGCImage image;
			 int imageWidth;
			 int imageHeight;
			 int frameWidth;
			 int frameHeight;
			 int frameCountX;
			 int frameCountY;

	public: CImage(std::string path, int frameCountX, int frameCountY);
			~CImage();

			VGCImage getImage();
			int getWidth();
			int getHeight();
			int getFrameWidth();
			int getFrameHeight();
			int getFrameCountX();
			int getFrameCountY();
			void drawFrame(VGCVector frameIndex, CVector position, VGCAdjustment frameAdjustment);
			void destroy();
};

#endif